<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>



<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="../static/css/kucun.css" rel="stylesheet" type="text/css">					
</head><body><div class="container-fluid" style="min-width:890px; padding-bottom:90px;">
  <form class="form-inline  clearfix" role="form" method="post" id="formSave" onsubmit="return false;">
	  <div class="row-fluid clearfix">
        <div class="span12">
                <fieldset>
                    <legend class="clearfix">
                        <div class="form-group pull-left le-inline col-sm-3 col-lg-2 title-w">
                             <label class="label l-account title-yaop"><span></span>新建耗材</label>
                        </div>
                        <div class="row row-obtn" id="yp-tabel">
		                    <div class="b-btn text-center">
		                        <button class="btn b-save button" id="btnSubmit">保存</button>
		                        <div class="btn b-cancel button button1"><span class="glyphicon" style="font-family:&#39;Microsoft Yahei&#39;;line-height: 32px;">取消</span></div>
		                    </div>
		                </div>
                    </legend>
                </fieldset>
        </div>
    </div>
    <div class="row-fluid clearfix" style="background:#fff;">
            	<div class="row row-margin row-content" id="yp-tabel">
                        <div class="form-group  col-xs-4  col-sm-4" style="width:662px;">
                           <div class="row">
	                           <label class="label col-xs-4 row-title col-sm-4"> <span class="glyph-star">*</span>耗材名称:</label>
	                           <div class="btn-group  col-xs-6  col-sm-6" style="padding:0">
	                           <input type="hidden" id="ptid" name="pingtaihcid" class="dropdown-search-li">
	                           		<input type="text" class="input-sm input-box dropdown-toggle a-haocai-add" autocomplete="off" placeholder="请输入耗材名称" data-rule="耗材名: required;" data-target="#msg_holder" onkeyup="getHaocaizd()" name="mingcheng" id="mingcheng" style="width:533px;"> 
								    <ul id="dropdownli" class="dropdown-menu li-width f-input-li a-haocaiul-add" style="display:none;width:261% !important; border:none;" role="menu">
								   </ul>
								</div>
							</div>
                        </div>
                        <div class="form-group col-xs-4   col-sm-4">
		                       <div class="row">
		                            <label class="label col-xs-4  col-sm-4 ">商品名称:</label>
								    <input type="text" class="input-sm col-xs-6 input-box col-sm-6" id="shangpmc" name="shangpinming" data-rule="生产厂家:length[~200];" data-target="#msg_holder">
								</div>
                          </div>
                </div>
                <div class="row row-margin row-content" id="yp-tabel">
                        <div class="form-group  col-xs-8  col-sm-8 ">
                        	 <div class="row">
	                            <label class="label col-xs-2 row-title col-sm-2 "><span class="glyph-star">*</span>包装规格:</label>
	                            <input type="text" class="input-sm col-xs-3 input-box col-sm-3" placeholder="如：25.00/瓶*1盒" style="width:454px;" name="baozhuanggg" id="baozhuanggg" data-rule="包装规格: required;" data-target="#msg_holder">
		                             <div class="btn-group col-xs-2  col-sm-2 col-md-2 col-lg-1 dropdown-search-li" style="padding:0; width:70px; margin-left:8px;">
		                           		 <input type="text" name="baozhuangdw" class="kc-baozhuangdw f-baozhuangdw dropdown-toggle" id="baozhuangdw" placeholder="单位" data-target="#msg_holder" style="width: 70px;">
									     <ul class="dropdown-menu li-width " id="adbaozhuangdw" role="menu">
										      <li>盒</li>
										      <li>瓶</li>
										      <li>支</li>
										      <li>袋</li>
										      <li>丸</li>
										      <li>片</li>
										      <li>粒</li>
										      <li>板</li>
										      <li>克</li>
								   		</ul>
									</div>
	                              <!-- <label class="label col-xs-1  col-sm-1" style="font-size:16px;text-align:center;margin-left:7%;">如：25.00/瓶*1盒</label> -->
	                          </div>
                         </div> 
                </div>
                <div class="row row-margin row-content" id="yp-tabel">
                          <div class="form-group col-xs-4   col-sm-4">
		                       <div class="row">
		                            <label class="label col-xs-4  col-sm-4 ">生产厂家:</label>
								    <input type="text" class="input-sm col-xs-6 input-box col-sm-6" id="hc-shengchancj" name="shengchancj" data-rule="生产厂家:length[~200];" data-target="#msg_holder">
								</div>
                          </div>
                        <div class="form-group  col-xs-4  col-sm-4  col-md-4 col-lg-4">
	                        <div class="row">
	                            <label class="label col-xs-4  col-sm-4  ">批准文号:</label>
							    <input type="text" class="input-sm  input-box col-xs-6  col-sm-6" id="pizhunwh" name="pizhunwh" data-rule="批准文号:length[~64];" data-target="#msg_holder">
							</div>
                        </div>
                        <div class="form-group  col-xs-4  col-sm-4  col-md-4 col-lg-4">
	                        <div class="row">
	                            <label class="label col-xs-4  col-sm-4  ">条形码:</label>
							    <input type="text" class="input-sm  input-box col-xs-6  col-sm-6" id="tiaoxingma" name="tiaoxingma" data-rule="药品条形码:integer[+];length(13~13);" data-msg="请输入正确的条形码" data-target="#msg_holder">
							</div>
                        </div>
                </div>
               
                <div class="row row-margin row-content" style="height:56px;" id="yp-tabel">
                        <div class="form-group  col-xs-4  col-sm-4  col-md-4 col-lg-4">
		                        <div class="row">
		                            <label class="label col-xs-4  col-sm-4  ">货架码:</label>
								    <input type="text" class="input-sm  input-box col-xs-6  col-sm-6" id="huojiama" name="huojiama" data-rule="货架码:length[~32];" data-target="#msg_holder">
								</div>
                        </div>
                        
                       <div class="form-group  col-xs-4  col-sm-4">
                        	<div class="row">
                           		<label class="label col-xs-4  col-sm-4 ">支持拆零:</label>
							      <div class="col-xs-8 col-sm-8  g-shield g-radio-shield" style="margin-top:0.5rem">
									   <input type="radio" id="linshou1" name="chailingbz" class="chailingbz" value="1">
									   <label class="f-bz" name="linshou1">&nbsp;&nbsp;&nbsp;是</label>
									    <input type="radio" id="linshou2" name="chailingbz" class="chailingbz" checked="checked" value="0">
									   <label class="f-bz  on" name="linshou2" style="margin-left:6%;padding-left:1.3rem">&nbsp;&nbsp;&nbsp;否</label>	
									   <div class="small-zhezhao"></div>	
	                  			 </div>
                  	    	</div>
                        </div>
                        <div class="form-group  col-xs-4  col-sm-4" id="show-hidden" style="display:none;">
	                          <div class="row">
	                             <label class="label col-xs-4  col-sm-4 ">拆零数量:</label>
	                               <div class="col-xs-4  col-sm-4 cldw-input-out" style="padding:0; width:100px;">
								         <input type="text" class="input-sm f-cailinhs" style="height: 36px;width:100%;border-radius: 0; border:solid 1px #ccc;" placeholder="换算比" name="chailingsl" id="hichailingsl" data-rule="拆零单位:integer;length[~32];" data-target="#msg_holder">
								   </div>
	                            	<!-- <label class="label" style="float:left;font-size:14px;text-align:center;padding:0 4px;">/</label> -->
	                               <div class="from-group col-xs-2  col-sm-2 dropdown-search-li" style="padding:0; width:60px;">
	                               
			                           	  <div class="btn dropdown-toggle  u-button-select f-cailindw bg-none unit" data-toggle="dropdown" tabindex="0" id="chailingdw" style="color:#777;margin-left:8px;padding-right: 50px; height:36px; z-index:100; width:92px;">单位</div>
								      				<input type="hidden" name="chailingdw" id="hichailingdw">
										     <ul class="dropdown-menu li-width f-bt-li " style="width:92px; margin-left:8px;" id="cailindw" role="menu">
										      <li>片</li>
										      <li>粒</li>
										      <li>支</li>
										      <li>袋</li>
										      <li>丸</li>
										      <li>枚</li>
										      <li>克</li>
										      <li>个</li>
									   		</ul>
									</div>
									<div class="unit-content" style="left: 255px;">
										<label class="label label-dis" id="cailjgf" style="float:left;font-size:14px;text-align:center;padding:0 6px 0 8px; display:none;">/</label>
	                              		<span class="label col-xs-1  col-sm-1 f-danwei cese" style="font-size:14px;text-align:left;"></span>
									</div>
	                              
	                         </div>
	                        </div>
                       
                </div>
                 <div class="row row-margin row-content" id="yp-tabel">
                         <div class="form-group col-xs-4   col-sm-4">
                          <div class="row">
	                            <label class="label col-xs-4 row-title col-sm-4 "><span class="glyph-star">*</span>处方价:</label>

							    <input type="text" class="input-sm col-xs-6  input-box col-sm-6 unit inp-select" id="cfj" name="xiaoshoujia" data-rule="处方价: required;length[~15];range(0~)" data-target="#msg_holder">
								<div class="unit-content4">
									<label class="label" style="float:left;font-size:14px;padding:0;margin-left:8px;">元 /</label>
							    	<span class="col-xs-1  col-sm-1 f-danwei f-danwei2 span-danwei cese" style="font-size:14px;"></span>
								</div>
							     
							     <div id="dijia"></div>
						   </div>
                        </div>
						<div class="form-group  col-xs-4  col-sm-4" style="text-align:center">
		                        <div class="row">
		                           <label class="label col-xs-4  col-sm-4 ">状态:</label>
		                           <input type="hidden" name="jinyongbz" id="hijinyongbz">

		                               <div class="btn-group col-xs-6  col-sm-6 dropdown-search-li" style="padding:0; width:200px;">


										   <div class="btn dropdown-toggle  u-button-select" data-toggle="dropdown" tabindex="0" id="jinyongbz" value="1" style="color:#333">启用</div>
										   <ul class="dropdown-menu li-width f-bt-li" style="width:200px;" role="menu">
										      <li value="0">启用</li>
										      <li value="1">禁用</li>
										   </ul>
									  </div>
							  </div>
                      </div>
                        
                </div> 
                <div class="row row-margin row-content" id="yp-tabel">
                         <div class="form-group col-xs-4   col-sm-4  col-md-4 col-lg-4">
	                       <div class="row">
	                            <label class="label col-xs-4 row-title col-sm-4"><span class="glyph-star">*</span>库存:</label>
							    <input type="text" class="input-sm col-xs-6  input-box col-sm-6 f-kucun unit" id="kucun" name="kucunsl" data-target="#msg_holder">
							    <span class="label col-xs-1  col-sm-1 f-danwei f-danwei2 unit-content3 cese" style="font-size:14px;text-align:left;margin-left:1rem;"></span>
						   </div>
                        </div>
                        <div class="form-group  col-xs-4 col-sm-4">
	                       <div class="row">
	                            <label class="label col-xs-4 col-sm-4">库存下限:</label>
							    <input type="text" class="input-sm  input-box col-xs-6 col-sm-6 f-kucunxiaxian unit" id="kucunxx" name="kucunxx" data-rule="库存下限:length[~8];" data-target="#msg_holder">
							    <span class="label col-xs-1  col-sm-1 f-danwei f-danwei2 unit-content3 cese" "="" style="font-size:14px;text-align:left;margin-left:1rem;"></span>
							    </div>
	                        </div>
                         <div class="form-group  col-xs-4 col-sm-4" id="open-close" style="display:none">
	                        <div class="row">
	                            <label class="label col-xs-4 col-sm-4">预警:</label>
	                            <input type="hidden" name="dikucyjkg" id="hidikucyjkg">
							      <div class="btn-group   col-xs-6 col-sm-6 dropdown-search-li" style="padding:0;width:200px;" id="hidikucyjkg">
									   <div class="btn dropdown-toggle  u-button-select f-yujing" data-toggle="dropdown" style="color:#333" tabindex="0" id="dikucyjkg">请选择
									   </div>
									   <ul class="dropdown-menu li-width f-bt-li" style="width:200px; border:solid 1px #00b472;" role="menu">
									      <li value="1">开启</li>
									      <li value="0">关闭</li>
									   </ul>
								  </div>
							</div>
                        </div>
                </div>
                <div class="row row-margin row-content" id="yp-tabel">
	                <div class="form-group  col-xs-4 col-sm-4">
                        <div class="row">
                            <label class="label col-xs-4 col-sm-4">备注:</label>
						    <input type="text" class="input-sm  input-box col-xs-6 col-sm-6" id="beizhu" name="beizhu" data-rule="备注:length[~1024];" data-target="#msg_holder">
						</div>
                   </div>
                </div>
   </div>
  </form>
</div> 
<script src="../static/js/haocai-add.js"></script>
<script type="text/javascript">
	var kucunpckg = true;
	getYaopintjcs(kucunpckg);
</script>
</body></html>
